<html>
<head><meta charset="utf-8"><title>rust + javascript in browser · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html">rust + javascript in browser</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="235217664"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235217664" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Chin (eminence) <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235217664">(Apr 19 2021 at 17:23)</a>:</h4>
<p>one of the projects i've been hacking on the past few days is trying to get rust + wasm-bindgen working with async javascript code.  it's been a bit of a challenge.  i'm tempted to write a status quo on it; i don't think we currently have anything that talks about async with wasm-bindgen thrown in the to mix</p>



<a name="235307231"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235307231" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235307231">(Apr 20 2021 at 08:31)</a>:</h4>
<p>I would love to see that.</p>



<a name="235310265"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235310265" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235310265">(Apr 20 2021 at 08:56)</a>:</h4>
<p>Yea I agree. It would be really cool to see a status quo for that topic.</p>



<a name="235320532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235320532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235320532">(Apr 20 2021 at 10:27)</a>:</h4>
<p><span class="user-mention" data-user-id="222286">@Andrew Chin (eminence)</span> please do so</p>



<a name="235320560"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235320560" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235320560">(Apr 20 2021 at 10:27)</a>:</h4>
<p>I've been thinking about writing some Wasm shiny future stories; it's a good point that we need status quo stories to match</p>



<a name="235367128"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/rust%20%2B%20javascript%20in%20browser/near/235367128" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Emmanuel Antony <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser.html#235367128">(Apr 20 2021 at 15:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="222286">Andrew Chin (eminence)</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/rust.20.2B.20javascript.20in.20browser/near/235217664">said</a>:</p>
<blockquote>
<p>one of the projects i've been hacking on the past few days is trying to get rust + wasm-bindgen working with async javascript code.  it's been a bit of a challenge.  i'm tempted to write a status quo on it; i don't think we currently have anything that talks about async with wasm-bindgen thrown in the to mix</p>
</blockquote>
<p><code>wasm-bindgen-futures</code> helps a lot. I certainly have tried and successfully spawned async Rust tasks, but haven't tried transferring it from js. And this would be a very nice story.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>